﻿@model MvcBoard.Domain.Entities.Board

    <div class="item">
        <h3>@Html.ActionLink(Model.Title, "View", new { Model.BoardID })</h3>
        @Model.Contents
        <h4>@Model.Regdt</h4>
        <h4>@Model.Regid</h4>
        <h4>@if(Session["UserID"] == Model.Regid){
                using (Html.BeginForm("Delete","Board"))
                {
                    @Html.Hidden("Board_Idx", Model.BoardID);
                    <input type="submit" value="삭제" />
                }
            }
        </h4>
    </div>